import store from '../store'
let isAuth = (url) => {
    let Arr = store.state.menus.permList
    if (Arr == true || Arr.includes(url)) {
        return true
    } else {
        return false
    }
}
export default isAuth